const {mongoose} = require('./database.js');
const orderSchema = new mongoose.Schema({
  id: String,
  customer: String,
  amount: Number,
  status: String,
  date: Date
});
const orderModel = mongoose.model('Order', orderSchema, 'orders');
module.exports = orderModel;